package com.example.competionmanagebackend.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.competionmanagebackend.entity.Teams;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;

public interface TeamsService extends IService<Teams> {
    Page<Teams> getTeamsPage(int currentPage, int pageSize);
    void insertTeam(Teams team);
    void updateTeam(Teams team);
    void deleteTeam(Integer id);
    List<Teams> getTeamsByUserId(Integer userId);
}